package com.park.platform.service;

import com.park.common.poo.BannerInfo;
import com.park.common.poo.PersonalityInfo;
import org.springframework.web.multipart.MultipartHttpServletRequest;

import java.io.IOException;
import java.util.Map;

/**
 * Created by leida on 2017/5/10.
 */
public interface IBannerService {

    public BannerInfo getBannerInfo(int bannerId);

    public Map<String, Object> getBanners();

    public Integer saveBanner(BannerInfo bannerInfo, MultipartHttpServletRequest multipartRequest) throws IOException;

    public void newDeleteBanner(int bannerId);

    public PersonalityInfo getPersonalityInfo(int personalityId);

    public Map<String, Object> getPersonalitys();

    public Integer savePersonality(PersonalityInfo personalityInfo, MultipartHttpServletRequest multipartRequest) throws IOException;

    public void newDeletePersonality(int personalityId);

}
